
<a href="#top" id="toTop"></a>

<h1><?php echo $banner->networkName . " - " . count($offers); ?></h1>

		
<ul id="list-offers">

	<?php foreach($offers as $offer) { 
		$points = $offer->payout * 100 * $banner->ratio;
		?>

		<li>
			<a  href='<?php echo $offer->url."&aff_sub=".$username; ?>' target="_blank" class"offer">
				<div class="offer-image">
					<img src='<?php echo $offer->image; ?>' />
				</div><!-- .\offer-image -->

				<div class="offer-content">
					<h3 class="offer-name"><?php echo $offer->name; ?></h3>
					<?php echo substr($offer->des, 0, 122); ?>
				</div><!-- \.offer-content -->

				<div class="offer-payout">
					<h3 class="points">
						<strong>+<?php echo $points; ?></strong> 
						point
					</h3>
				</div><!-- \.offer-payout -->
			</a>
		</li>

	<?php } ?>

</ul>